ComponentOne Basic Library for UWP
Basic Library Overview / TreeView for UWP / TreeView for UWP Task-Based Help / Enabling Drag-and-Drop
In This Topic
    Enabling Drag-and-Drop
    In This Topic

    C1TreeView supports drag-and-drop behavior. For more information see the Drag-and-Drop Nodes topic. To enable drag-and-drop behavior, set the C1TreeView.AllowDragDrop property to True:

    Visual Basic
    Copy Code
    C1TreeView.AllowDragDrop = True
    

     

    C#
    Copy Code
    C1TreeView.AllowDragDrop = true;
    

    To enable visual drag-and-drop indicators you can set the C1TreeView.DragDropArrowMarker and C1TreeView.DragDropLineMarker properties.